package com.cmc6.minio.service;

import com.cmc6.minio.model.dto.FileDownloadDTO;
import com.cmc6.minio.model.dto.FileRemoveDTO;
import org.springframework.web.multipart.MultipartFile;

public interface FileService {

    String upload(MultipartFile file, String bucketName, String folderName, String remark, String extraJson);

    void publicDownload(String uri);

    void download(FileDownloadDTO dto);

    String remove(FileRemoveDTO dto);

}
